package com.gmail.at.jra.felipe.view;

import javax.swing.JOptionPane;

public class MessageGUI extends JOptionPane {

	public static void showMessage(String message, String title, boolean isError){
		int type;
		if( isError ) type = JOptionPane.ERROR_MESSAGE;
		else type = JOptionPane.INFORMATION_MESSAGE;
		showMessageDialog(null, message, title, type);
	}
}
